package com.timesheet.dao;

import java.util.Date;
import java.util.List;

import com.base.common.persistence.Dao;
import com.base.common.persistence.annotation.MyBatisMapper;
import com.timesheet.model.Timesheet;

@MyBatisMapper
public interface TimesheetMapper extends Dao<Timesheet> {

    Timesheet selectByPrimaryKey(String id);
    
    List<Timesheet> selectByModel(Timesheet timesheet);
    
    List<Timesheet> selectChByModel(Timesheet timesheet);

    int deleteByPrimaryKey(String id);
    
    int insert(Timesheet record);
    
    int batchInsert(List<Timesheet> timesheets);
    
    int insertSelective(Timesheet record);
    
    int updateByPrimaryKeySelective(Timesheet record);

    int updateByPrimaryKey(Timesheet record);
}